#include "ServerConfiguration.h"
#include "InputSystem.h"
#include "PhysicsSystem.h"
#include "SceneSystem.h"
#include "ScriptingSystem.h"
#include "ServerSystem.h"

ServerConfiguration::ServerConfiguration(void)
{
}

void ServerConfiguration::InitializeSystems(EnginePointer<SystemCollection>& systems,
											EnginePointer<SettingsManager>& settings,
											EnginePointer<IMessageQueue>& messages)
{
	EnginePointer<IEngineSystem> system;

	system = EnginePointer<InputSystem>(new InputSystem(settings, messages));
	systems->addSystem(system);
	system = EnginePointer<PhysicsSystem>(new PhysicsSystem(settings, messages));
	systems->addSystem(system);
	system = EnginePointer<SceneSystem>(new SceneSystem(settings, messages));
	systems->addSystem(system);
	system = EnginePointer<ScriptingSystem>(new ScriptingSystem(settings, messages));
	systems->addSystem(system);
	system = EnginePointer<ServerSystem>(new ServerSystem(settings, messages));
	systems->addSystem(system);
}